@extends('layouts.admin')
@section('style')
@endsection
@section('content')
    <div class="layui-container openframe">
        <form method="post" action="" id="UserForm" class="layui-form" novalidate="1">
            <div class="layui-form-item">
                <div class="layui-input-inline" style="width: 100%;">
                    <input type="text"  value="{{ $value }}" id="value" class="layui-input">
                </div>
            </div>
        </form>
    </div>
@endsection
@section('script')
    <script type="text/javascript">
        var doSubmit = null;
        layui.use(['form', 'element', 'layer', 'utils', 'formField'], function () {
            var form = layui.form;
            var element = layui.element;
            var URL = layui.utils.URL;
            var $ = layui.$;

            doSubmit = function(callback){
                var value = $("#value").val();
                callback(value);
            }
        });

    </script>
@endsection